package cn.iocoder.yudao.module.shop.controller.admin.shopTable.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;

@Schema(description = "管理后台 - 商户桌号新增/修改 Request VO")
@Data
public class ShopTableSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "品牌id", example = "1")
    private Long brandId;

    @Schema(description = "店铺id", example = "1")
    private Long shopId;

    @Schema(description = "桌号")
    private String tableNo;

    @Schema(description = "最大用餐人数")
    private Integer maxPerson;

    @Schema(description = "餐桌类型", example = "1")
    private String tableType;

    @Schema(description = "状态（01 启用，02没启用）", example = "1")
    private Boolean isUse;

    @Schema(description = "占座状态（01未占座，02用餐中）", example = "1")
    private String seatStatus;

    @Data
    public static class ShopTableUpdateReqVO{
        private Long shopId;
        private List<ShopTableSaveReqVO> itemList;
    }
}